﻿<html>
<head>
    <!--<base href="../" />-->
    <meta charset="UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="/static/css/angularStyle.css" />
    <link rel="stylesheet" href="/static/css/common/reset.css" />
    <link rel="stylesheet" href="/static/css/associate.css" />
    <link rel="stylesheet" href="/static/css/sweetalert.min.css" />
    <link rel="stylesheet" href="/static/js/simditor/styles/simditor.css" />
    <link rel="stylesheet" href="/static/js/simditor/styles/simditor-html.css" />
    <title>代理官首页</title>
</head>
<body>
    <div class="associate" ng-app="myApp">
        <div id="divHeader"></div>
        <section class="assoc-content container clearfix">
            <div class="assoc-c-left fl">
                <div id="divNavigation"></div>
            </div>
            <div class="assoc-c-right fr" ng-controller="Ctrl">

                <div class="assoc-cr-information" ng-cloak ng-model="names">
                    <div class="assoc-cr-information">
                        <div ng-if="names.Status !== 'SecondStep' && names.Status !== 'ThirdStep'">
                            <a href="./reviseInfo.html" class="assoc-cri-resive" id="assoc-cri-resive">修改信息</a>
                        </div>
                        <div ng-if="names.Status === 'SecondStep' || names.Status === 'ThirdStep'">
                            <a href="/agent/register.html" class="assoc-cri-resive" id="assoc-cri-resive">完善资料</a>
                        </div>
                        <div class="assoc-cri-pic">
                            <div class="img">
                                <img src="{{names.HeadImage}}" />
                            </div>
                            <div ng-if="names.Status !== 'SecondStep' && names.Status !== 'ThirdStep'">
                                <a href="/my/reviseImg.html" class="colorRed underline textcenter disinblock" id="assc-changeImg">修改头像</a>
                            </div>
                        </div>
                        <h1 class="f14 mb20">个人信息</h1>
                        <h2 class="colorRed">
                            <label>代理官口令： </label>
                            <span>{{names.AgentPassword}}</span>
                        </h2>
                        <h2>
                            <label>姓名：</label>
                            <span>{{names.Name}}</span>
                        </h2>
                        <h2>
                            <label>性别：</label>
                            <span>{{names.SexString}}</span>
                        </h2>
                        <h2>
                            <label>手机：</label>
                            <span>{{names.Phone}}</span>
                        </h2>
                        <h2>
                            <label>QQ：</label>
                            <span>{{names.QQ}}</span>
                        </h2>
                        <h2>
                            <label>微信：</label>
                            <span>{{names.WeChart}}</span>
                        </h2>
                        <h2>
                            <label>邮箱：</label>
                            <span>{{names.Email}}</span>
                        </h2>
                        <h2>
                            <label>所属院校：</label>
                            <span>{{names.SchoolName}}</span>
                        </h2>
                        <h2>
                            <label>个人简介：</label>
                            <span>{{names.Resume}}</span>
                        </h2>
                    </div>
                </div>
            </div>
        </section>
    </div>

    <div id="divFooter"></div>

    <script type="text/javascript" src="/static/js/ref/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="/static/js/self/common.js"></script>
    <script type="text/javascript" src="/static/js/ref/angular.min.js"></script>
    <script type="text/javascript" src="/static/js/ref/sweetalert.min.js"></script>
    <script>

        $("#divHeader").load("/wuc/header.html");
        $("#divFooter").load("/wuc/footer.html");
        $("#divNavigation").load("/wuc/navigation.html");

        function AfterCompleted(ctx) {
            if (ctx == null) {
                common.alertMessage("无数据.");
                return;
            }
        }

        common.CreateController({ name: 'Ctrl', url: '/api/Agent/GetAgent', objType: 'dict' });

    </script>
</body>

</html>
